﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace AnesSystem.Controls
{
    public class BasePrintControl : PrintTemplate, INotifyPropertyChanged
    {
        #region Variables

        #endregion

        #region Constructor

        public BasePrintControl()
        {

        }

        #endregion

        #region Properties
        
        #endregion

        #region 依赖属性

        #endregion

        #region Event

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion

        #region Private Methods

        #endregion

        #region Public/Protected Methods

        public virtual void Refesh()
        {

        }

        public void RaisePropertyChanged(string propertyName)
        {
            OnPropertyChanged(new PropertyChangedEventArgs(propertyName));
        }

        protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
        {
            PropertyChanged?.Invoke(this, e);
        }

        public override void InvokePrePrint()
        {
           
        }

        public override void InvokeOverPrint()
        {
           
        }



        #endregion

        #region EventHandlers



        #endregion
    }
}
